package exercises;

/**
 * @author zerorain
 **/
import java.util.*;
//计算糖果   简单的逻辑题 不考编程能力。
public class ex7 {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        int d = sc.nextInt();
        int A = 0;
        int B = 0;
        int C = 0;
        A = (a + c)/2;
        B = (b + d)/2;
        if(c + d - A - 2*B == a - b + 2*B - A ){
            C = c + d - A - 2*B;
            System.out.print(A + " ");
            System.out.print(B + " ");
            System.out.print(C + " ");
        } else{
            System.out.print("No");
        }

    }
}